@echo off

cd ../src/

SET CGO_ENABLED=0
SET GOOS=windows
SET GOARCH=amd64

go build -o snake.exe main.go

@REM go build -ldflags "-s -w" -o snake.exe main.go

rm ../bin/snake.exe
mv snake.exe ../bin

cd ../
start bin

echo build finish...
pause